#pragma once
#include<iostream>
using namespace std;
#include<stdio.h>
#include<graphics.h>
//#include<easyx.h>

#define kd_2 30
#define imagx_2 (cx * kd_2)
#define imagy_2 (cy * kd_2 + 100) 

int pdlgs(int hx, int hy, int** a);
void loadimag();
void prtall(int** a, int f);
void prtimag(int** a, int* hf);
void prtcaidan();
void prtknxz();
void gaibiana(int** a, int hx, int hy);
void lgaibiana(int** a, int hx, int hy, int ks, int* f);
void rgaibiana(int** a, int hx, int hy);
void scqp(int** a);
void showa(int** a);
void my_main2();